/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * All Rights Researved.
 *
 * This library is developed and distributed for free usage,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * You can redistribute and/or modify it under the terms of the
 * Simplified BSD License
 *
 *
 *
 *
 *
 *
 *
 * Known project name, auto choose data to load(pcp, ts or both), and load data
 * Used by Finish button of ChooseDataPane
 * @Original Author: jin Chen
 * @date: Apr 12, 2004$
 * @version: 1.0
 */
package edu.psu.geovista.app.dataloader.v1.actions;

import edu.psu.geovista.app.dataloader.v1.DataLoaders;

public class AutoChooseLoad80 extends SetPath80{
    public AutoChooseLoad80() {
    }

    public AutoChooseLoad80(String name, DataLoaders dl) {
        super(name, dl);
    }

    /*public void actionPerformed(ActionEvent e) {
        //To change body of implemented methods use File | Settings | File Templates.
        ChooseDataPane chp = this.dataloader.getChooseDataPane();
                boolean loadpcp = chp.isPcpDataLoad();
                boolean loadts = chp.isTsDataLoad();

                this.wizard.setLoadPcpdata(loadpcp);
                this.wizard.setLoadTsdata(loadts);

         dataloader.setDataInfo(wizard.getProject());
        boolean success=dataloader.autoSelectAttributes() ;
         if (success) {
            dataloader.loadFinalData();
        }

    }*/

    protected void doNext(){
        AutoSelectLoad90 act=(AutoSelectLoad90) dataloader.getAction(ActionManager.Act_AutoSelectLoad);
        act.actionPerformed(null);
    }


}
